package com.jt9003.pojo;

import java.util.Date;

//模板对象
public class Template {
    private Integer id;
    private String t_name;          //模板名称
    private String p_statement;     //患者主述
    private String p_past_illness;  //历史病症
    private String p_examination;    //身体检查
    private String p_auxiliary;     //辅助检查
    private String p_idea;          //治疗意见
    private int t_type;             //模板类型
    private String t_effect;        //功效
    private int t_durgsId;          //模板与药品对应表id
    private int t_usage;            //用法id
    private Date t_date;            //创建模板的时间
    private String  t_explain;      //调理方说明
    private String t_medical_advice;    //医嘱


    private int templateNamber; //41=协调方    43=调理方
    private String dr_ids;          //储存药品id的字符串
    private String dr_name;        //用来存储多个药品名字
    private String usage_name;      //用法的名字

    public int getTemplateNamber() {
        return templateNamber;
    }

    public void setTemplateNamber(int templateNamber) {
        this.templateNamber = templateNamber;
    }

    public String getT_medical_advice() {
        return t_medical_advice;
    }

    public void setT_medical_advice(String t_medical_advice) {
        this.t_medical_advice = t_medical_advice;
    }

    public String getDr_ids() {
        return dr_ids;
    }

    public void setDr_ids(String dr_ids) {
        this.dr_ids = dr_ids;
    }

    public String getT_explain() {
        return t_explain;
    }

    public void setT_explain(String t_explain) {
        this.t_explain = t_explain;
    }

    public String getUsage_name() {
        return usage_name;
    }

    public void setUsage_name(String usage_name) {
        this.usage_name = usage_name;
    }

    public String getDr_name() {
        return dr_name;
    }

    public void setDr_name(String dr_name) {
        this.dr_name = dr_name;
    }

    public String getT_name() {
        return t_name;
    }

    public void setT_name(String t_name) {
        this.t_name = t_name;
    }

    public Template(Integer id, String p_statement, String t_name, String p_past_illness, String p_examination, String p_auxiliary, String p_idea, int t_type, String t_effect, int t_durgsId, int t_usage, Date t_date) {
        this.id = id;
        this.p_statement = p_statement;
        this.t_name = t_name;
        this.p_past_illness = p_past_illness;
        this.p_examination = p_examination;
        this.p_auxiliary = p_auxiliary;
        this.p_idea = p_idea;
        this.t_type = t_type;
        this.t_effect = t_effect;
        this.t_durgsId = t_durgsId;
        this.t_usage = t_usage;
        this.t_date = t_date;
    }

    public Template() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getP_statement() {
        return p_statement;
    }

    public void setP_statement(String p_statement) {
        this.p_statement = p_statement;
    }

    public String getP_past_illness() {
        return p_past_illness;
    }

    public void setP_past_illness(String p_past_illness) {
        this.p_past_illness = p_past_illness;
    }

    public String getP_examination() {
        return p_examination;
    }

    public void setP_examination(String p_examination) {
        this.p_examination = p_examination;
    }

    public String getP_auxiliary() {
        return p_auxiliary;
    }

    public void setP_auxiliary(String p_auxiliary) {
        this.p_auxiliary = p_auxiliary;
    }

    public String getP_idea() {
        return p_idea;
    }

    public void setP_idea(String p_idea) {
        this.p_idea = p_idea;
    }

    public int getT_type() {
        return t_type;
    }

    public void setT_type(int t_type) {
        this.t_type = t_type;
    }

    public String getT_effect() {
        return t_effect;
    }

    public void setT_effect(String t_effect) {
        this.t_effect = t_effect;
    }

    public int getT_durgsId() {
        return t_durgsId;
    }

    public void setT_durgsId(int t_durgsId) {
        this.t_durgsId = t_durgsId;
    }

    public int getT_usage() {
        return t_usage;
    }

    public void setT_usage(int t_usage) {
        this.t_usage = t_usage;
    }

    public Date getT_date() {
        return t_date;
    }

    public void setT_date(Date t_date) {
        this.t_date = t_date;
    }
}
